package dwl.graduation.design.domain;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysCollect implements Serializable {
    private Integer id;

    private Double cpuTotal;

    private Double cpuUsed;

    private Double cpuSys;

    private Double memTotal;

    private Double memUsage;

    private String createBy;

    private Date createTime;

    private String updateBy;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", cpuTotal=").append(cpuTotal);
        sb.append(", cpuUsed=").append(cpuUsed);
        sb.append(", cpuSys=").append(cpuSys);
        sb.append(", memTotal=").append(memTotal);
        sb.append(", memUsage=").append(memUsage);
        sb.append(", createBy=").append(createBy);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateBy=").append(updateBy);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}